package com.zrwl.poscloud.xo.vo;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.commons.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 管理员教师关联 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-05-08
 */
@Data
public class TimeTableVO extends BaseVO<TimeTableVO> {
    private static final long serialVersionUID = 1L;
    private String classUid;
    @ApiModelProperty("课表名称")
    private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date endTime;
    @ApiModelProperty("班级名称")
    private String dName;
    private String deptUid;
    @ApiModelProperty("班级名称")
    private String deptName;
    private String companyCode;
    @ApiModelProperty("班级状态")
    private int gradeStatus;
    private List<TimeTableVO> timeTableVOList;
}
